﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="PostageDetails.aspx.cs" Inherits="UI_Bas_PostageDetails" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
   <title>邮费明细维护</title>
    <script src="../../js/jquery.easyui/jquery.min.js" type="text/javascript"></script>
    <script src="../../js/jquery.easyui/jquery.easyui.min.js" type="text/javascript"></script>
    <link href="../../js/jquery.easyui/themes/icon.css" rel="stylesheet" type="text/css" />
    <link href="../../js/jquery.easyui/themes/default/easyui.css" rel="stylesheet" type="text/css" />
    <script src="../../js/jquery.easyui/locale/easyui-lang-zh_CN.js" type="text/javascript"></script>
    <script src="../../js/SelectCountry.js" type="text/javascript"></script>
    <style type="text/css">
        #divContent input
        {
    	    width:300px;
        } 
         #divContent select
        {
    	    width:300px;
        }     
    </style>
</head>
<body> 
<div id ="body" >
  <form id="form1" runat="server">   
    <div id="divContent" class ="easyui-panel" title ="邮费维护明细">
        <table >
              <tr>
                <td >编号:</td>
                <td colspan ="3">                 
                    <input type="text" id="txtId" runat="server" class="easyui-numberbox" required = "true" missingMessage="请填写数字！.." />*
                 </td>
              </tr>
              <tr>
                <td >快递公司:</td>
                <td>
                    <input type="text" id="txtExpress" runat="server" class="easyui-validatebox" required = "true"/>
                 </td>
                <td >国家:</td>
                <td>
                   <asp:DropDownList ID="ddlCountryNames" runat="server"  
                        class="easyui-validatebox"  Width ="306px"   AutoPostBack ="true" 
                        onselectedindexchanged="ddlCountryNames_SelectedIndexChanged" >
                    </asp:DropDownList>
                    <%--<input type="hidden"  id="countrytype" runat="server" value ="postage"  /> 
                     <input id="txtCountryNames" type = "text" runat ="server" style="width:300px;" readonly ="readonly" />                    
                     <input type="button" id="selectmore" value="..."  style="width :30px;" runat ="server" /> --%>
                </td>
              </tr>
              <tr>
                <td >发货方式:</td>
                <td>
                    <asp:DropDownList ID="ddlShippingMethods" runat="server"  class="easyui-validatebox" enableviewstate="false" Width ="306px" required = "true" >
                    </asp:DropDownList>
                </td>
                <td >州:</td>
                <td>
                  <%--  <input type="text" id="txtState" runat="server" class="easyui-validatebox" />--%>                   
                    <asp:DropDownList ID="ddlState" runat="server" class="easyui-validatebox" Width ="306px" >
                    </asp:DropDownList>
                </td>
              </tr>
              <tr>
                <td >包裹类型:</td>
                <td>
                    <asp:DropDownList ID="ddlPackageType" runat="server"  class="easyui-validatebox" required = "true"  enableviewstate="false" Width ="306px">
                    </asp:DropDownList>
                 </td>
                <td >城市:</td>
                <td>
                  <%--  <input type="text" id="txtCity" runat="server" class="easyui-validatebox" />--%>
                    <asp:DropDownList ID="ddlCity" runat="server" class="easyui-validatebox" Width ="306px" >
                    </asp:DropDownList>
                </td>
              </tr>
              <tr>
                <td >起始重量:</td>
                <td>
                    <input type="text" id="txtStartingWeight" runat="server" class="easyui-numberbox" required = "true" precision = "2"  missingMessage="请填写数字！.." />                    
                </td>
                <td >基本邮费:</td>
                <td>
                    <input type="text" id="txtBasicPostage" runat="server" class="easyui-numberbox" required = "true"  precision = "2"  missingMessage="请填写数字！.." />                  
                </td>
              </tr>
              <tr>
                <td >结束重量:</td>
                <td>
                    <input type="text" id="txtEndingWeight" runat="server" class="easyui-numberbox" required = "true"  precision = "2"  missingMessage="请填写数字！.." />
                 </td>
                <td >每增加邮费:</td>
                <td>
                    <input type="text" id="txtPostageRateIncreases" runat="server" class="easyui-numberbox" required = "true"  precision = "2"  missingMessage="请填写数字！.." />
                </td>
              </tr>
              <tr>
                <td >每增加固定重量:</td>
                <td colspan ="3">
                    <input type="text" id="txtStandardsIncreaseWeight" runat="server" class="easyui-numberbox" required = "true" precision = "2"  missingMessage="请填写数字！.." />
                </td>
              </tr> 
          </table>
      </div>
      <div id="c">
            <table id="t">
            </table>
             <div region="south" border="false" style="text-align:right;height:30px;line-height:30px;">
                <a id="btnOK" class="easyui-linkbutton" icon="icon-ok" href="javascript:void(0)">Ok</a>
                <a id="btnClose" class="easyui-linkbutton" icon="icon-cancel" href="javascript:void(0)">Cancel</a>
            </div>
       </div>
    <div id ="divOperating" >
        <table >
           <tr>
            <td >
               <asp:LinkButton ID="btnSave" runat="server" CssClass="easyui-linkbutton" Text="提交" OnClick="btnSave_Click"  OnClientClick=" return $('body').form('validate');"></asp:LinkButton>
               <a id="btnReturn" class = "easyui-linkbutton" onclick="javascript:window.location.href='Postage.aspx'" >返回</a>
            </td>
          </tr>
         </table>
      </div>
   </form>
  </div>
</body>
</html>
